{* $Id: category_select.html 22506 2013-04-08 07:48:19Z weisd $ *}
<div class="row">
    {if $tpl.category}<label class="label">{$tpl.category}</label>{/if}
    <select class="select mid" name="category_id">
        <option value="0">请选择分类</option>
        {foreach from=$categorys item=v key=key}
        <option value="{$v.id}" {if $info.category_id == $v.id || $category_id == $v.id} selected{/if}>{$v.name|indent:{$v.level*4}:"&nbsp;"}</option>
        {/foreach}
    </select>
</div>